import { defineConfig } from 'vite';
import jsonInjectorPlugin from "log_text/config"
export default defineConfig({
    base: '/',
    root:"./",
    server: {
        hmr: true, // 确保 HMR 被启用
        hot:true
    },
    plugins:[
        jsonInjectorPlugin({
            path: './config.json',
        })
    ],
    build: {
        minify: false,
        sourcemap: true,
    }
})

